package top.infopub.mgr.la.service;

import java.util.List;

import com.github.pagehelper.Page;

import top.infopub.mgr.la.domain.OutLawyerDomain;
import top.infopub.mgr.la.vo.OutLawyerVo;
import top.infopub.model.la.OutLawyer;
import top.infopub.model.la.OutLawyerAtt;
import top.infopub.generic.GenericService;

public interface OutLawyerService extends GenericService<OutLawyer, String> {

    /**
     * 根据条件查询分页记录
     * @param page
     * @param outLawyerVo
     * @return 
     * @see
     */
    Page<OutLawyerDomain> selectByDomainWhere(Page<OutLawyerDomain> page, OutLawyerVo outLawyerVo);

    /**
     * 根据条件查询-我审批的分页记录
     * @param page
     * @param outLawyerVo
     * @return 
     * @see
     */
    Page<OutLawyerDomain> selectMyCheckByDomainWhere(Page<OutLawyerDomain> page, OutLawyerVo outLawyerVo);

    /**
     * 新增记录
     * @param outLawyer
     * @param outLawyerAtts 
     * @see
     */
    void saveOutLawyer(OutLawyerVo outLawyer, List<OutLawyerAtt> outLawyerAtts);

    /**
     * 根据id查看记录详情
     * @param id 主键id
     * @return 
     * @see
     */
    OutLawyerVo queryById(String id);
    
}